Component({
  pageLifetimes: {
    show() {
      if (typeof this.getTabBar === 'function' &&
        this.getTabBar()) {
        this.getTabBar().setData({
          selected: 0
        })
      }
    }
  },
  data: {
    imgUrls: [{
      link: '/pages/index/index',
      url: '/images/001.jpeg'
    }, {
      link: '/pages/list/list',
      url: '/images/001.jpeg'
    }, {
      link: '/pages/list/list',
      url: '/images/001.jpeg'
    }],
    indicatorDots: true, //小点
    indicatorColor: "white", //指示点颜色
    activeColor: "coral", //当前选中的指示点颜色
    autoplay: false, //是否自动轮播
    interval: 3000, //间隔时间
    duration: 3000, //滑动时间
  }
})